// cover some element-ui styles

.el-breadcrumb__inner,
.el-breadcrumb__inner a {
  font-weight: 400 !important;
}

.el-upload {
  input[type="file"] {
    display: none !important;
  }
}

.el-upload__input {
  display: none;
}

.cell {
  .el-tag {
    margin-right: 0px;
  }
}

.small-padding {
  .cell {
    padding-left: 5px;
    padding-right: 5px;
  }
}

.fixed-width {
  .el-button--mini {
    padding: 7px 10px;
    width: 60px;
  }
}

.status-col {
  .cell {
    padding: 0 10px;
    text-align: center;

    .el-tag {
      margin-right: 0px;
    }
  }
}

// to fixed https://github.com/ElemeFE/element/issues/2461
.el-dialog {
  background-color: #061233 !important;
  border: 2px solid #08356A;
  .el-dialog__header {
   // background-image: url("../img/screen/images/digHeaderBg.png");
    background-repeat: no-repeat;
    background-size: cover;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-left: 20px;
    padding-bottom: 0px;
    .el-dialog__title {
      font-weight: 800;
      font-size: 26px;
      color: #ffffff;
      text-shadow: 0px 2px 9px #003f85;
      font-style: italic;
      line-height: 56px;
      padding-left: 30px;
      &::before {
        content: "";
        display: inline-block;
        width: 20px;
        height: 30px;
        //background-image: url("../img/screen/images/header-icon.png");
        background-repeat: no-repeat;
        background-size: cover;
        background-position: center;
        position: relative;
        top: 5px;
        left: -5px;
    }
  }
}
.el-dialog__headerbtn{
  top:16px;
  right: 16px;
  // transform: translatex(-50%);
  .el-dialog__close{
    font-size: 22px;
    color: #fff;

  }
 

}
}


.my-dialog {
  background-color: #061233 !important;
  border: 2px solid #08356A;
  .el-dialog__header {
   width: 100%;
    background-image: none !important;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #08356A;
    .el-dialog__title {
      font-weight: 800;
      font-size: 26px;
      color: #ffffff;
      text-shadow: 0px 2px 9px #003f85;
      font-style: normal;
      line-height: 56px;
      padding-left: 0px !important;
      &::before {
        content: "";
        display: inline-block;
        width: 0 !important;
        height: 0 !important;
        position: relative;
        top: 0 !important;
        left:0 !important;
    }
  }
}
.el-dialog__headerbtn{
  top:16px;
  right: 16px;
  // transform: translatex(-50%);
  .el-dialog__close{
    font-size: 22px;
    color: #fff;

  }
 

}
}

.el-overlay-dialog{
  background: rgba(0, 0, 0, 0.5) !important;
}

// refine element ui upload
.upload-container {
  .el-upload {
    width: 100%;

    .el-upload-dragger {
      width: 100%;
      height: 200px;
    }
  }
}

// dropdown
.el-dropdown-menu {
  a {
    display: block;
  }
}

// fix date-picker ui bug in filter-item
.el-range-editor.el-input__inner {
  display: inline-flex !important;
}

// to fix el-date-picker css style
.el-range-separator {
  box-sizing: content-box;
}

.el-menu--collapse
  > div
  > .el-submenu
  > .el-submenu__title
  .el-submenu__icon-arrow {
  display: none;
}

.el-dropdown .el-dropdown-link {
  color: var(--el-color-primary) !important;
}
